import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  { path: '/', redirect: '/index' },
  { path: '/index', name: 'index', component: () => import('../views/index/index.vue') },
  { path: '/CRegist', name: 'CRegist', component: () => import('../views/CRegist/CRegist.vue') }
]

const router = new VueRouter({
  routes
})

export default router
